package com.m4f.cityclient.api.service.impl;

import java.util.logging.Logger;

import com.m4f.cityclient.api.exception.M4FCityClientException;
import com.m4f.cityclient.api.models.OrganizationCity;
import com.m4f.cityclient.api.service.ifc.M4FOrganizationApiService;

/**
 * @author David Basoko
 */
public class M4FOrganizationApiServiceImpl extends M4FBaseApiService implements M4FOrganizationApiService {
	private static final Logger LOGGER = Logger.getLogger(M4FOrganizationApiServiceImpl.class.getName());
	
	private String m4fscOrganizationInfoUrl;
		
	@Override
	public OrganizationCity getOrganizationInfo() throws M4FCityClientException {
		return this.getData(getM4fscOrganizationInfoUrl(), OrganizationCity.class); 
	}

	public String getM4fscOrganizationInfoUrl() {
		return m4fscOrganizationInfoUrl;
	}

	public void setM4fscOrganizationInfoUrl(String m4fscOrganizationInfoUrl) {
		this.m4fscOrganizationInfoUrl = m4fscOrganizationInfoUrl;
	}
}
